package com.niodata.dp.log.viewer;

import java.io.IOException;

public interface LogViewer {

  ViewerSession tailFile(Host host, String file)
        throws IOException;

  ViewerSession tailFileLines(Host host, String file, int lineCount) throws IOException;


  ViewerSession headFileLines(Host host, String file, int lineCount) throws IOException;


  ViewerSession grepFile(Host host, String file, String pattern)
        throws IOException;


}
